package Content;
import java.util.ArrayList;
import java.util.List;


/**
 * 
 * @author Thang Tran
 * @version 3/3/2014
 */
public class ProjectModel {
	
	public List<User> userList;
	public List<Conference> conferenceList;
	
	public ProjectModel() {
		userList = new ArrayList<User>();
		conferenceList = new ArrayList<Conference>();
		
		//4 users
		User author = new Author("U1", null, "Author");
		User reviewer = new Reviewer("U2", null, "Reviewer");
		User subpro = new SubProgramChair("U3", null, "SubProgramChair");
		User progChair = new ProgramChair("U4", null);
		userList.add(author);
		userList.add(reviewer);
		userList.add(subpro);
		userList.add(progChair);
		
		//3 conferences
		Conference conference1 = new Conference("Apple", 0, 0, 0, (ProgramChair) progChair);
		Conference conference2 = new Conference("Banana", 0, 0, 0, (ProgramChair) progChair);
		Conference conference3 = new Conference("Carrot", 0, 0, 0, (ProgramChair) progChair);
		conference1.subChair.add((SubProgramChair) subpro);
		conference2.subChair.add((SubProgramChair) subpro);
		conference1.reviewers.add((Reviewer) reviewer);
		conference2.reviewers.add((Reviewer) reviewer);
		Paper paper1 = new Paper("Abe", "GigaWalts");
		Paper paper2 = new Paper("John", "Flux Capacitor");
		conference1.paperList.add(paper1);
		conference2.paperList.add(paper2);
		
	}
	
}
